package com.potenza.media.auth.app.feign;

import io.renren.modules.app.entity.UserEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "renren-fast",contextId = "app",fallback = UserServiceFeignClientImpl.class)
public interface UserServiceFeignClient {

    @GetMapping("app/getById/{userId}")
    UserEntity getById(@PathVariable Long userId);
}
